home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-12-05 | 1.7 KB | 77 lines |
- #=------------------------------------------------------------------------=
- # Makefile [Framework]
- #=------------------------------------------------------------------------=
- # Copyright 1995 Microsoft Corporation. All Rights Reserved.
- #
- # THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
- # ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
- # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
- # PARTICULAR PURPOSE.
- #=--------------------------------------------------------------------------=
- #
- # builds a library for the Framework
- #
-
- TARGETOS=BOTH
- APPVER=4.0
-
- MKDEP=mkdep
-
- !include <win32.mak>
-
- cflags=$(cflags) -Oi
-
- !if "$(NODEBUG)"!=""
- CTLFWLIB=CTLFWR32.LIB
- !else
- cdebug=$(cdebug) -DDEBUG
- CTLFWLIB=CTLFWD32.LIB
- !endif
-
- OBJS=AutoObj.Obj\
- ClassF.Obj\
- CtlEmbed.Obj\
- CtlMisc.Obj\
- CtlPsst.Obj\
- CtlHelp.Obj\
- Debug.Obj\
- DibClasses.Obj\
- Globals.Obj\
- Internet.Obj\
- IPServer.Obj\
- PropPage.Obj\
- StdEnum.Obj\
- Unknown.Obj\
- Util.Obj
-
- all: dep $(CTLFWLIB)
-
- $(CTLFWLIB): $(OBJS) makefile
- $(implib) /NODEFAULTLIB $(OBJS) -out:$*.lib -machine:$(CPU)
- if not exist ..\lib md ..\lib
- copy $(CTLFWLIB) ..\lib
-
- .cpp.obj:
- $(cc) $(cflags) $(cvars) $(cdebug) -I..\Include $<
-
- .c.obj:
- $(cc) $(cflags) $(cvars) $(cdebug) -I..\Include -Tp $<
-
- Dep:
- @echo Generating Dependancies
- $(MKDEP) -n -P ./ -I. -I..\Include -s .obj *.c* > dep.mak
-
- clean:
- del *.lib
- del *.obj
- del *.mak
-
- #=----------------------------=
- # Include Dependency Makefile
- #
- !IF EXIST(dep.mak)
- !include dep.mak
- !ENDIF
-
-
-